﻿namespace Microsoft.VisualStudio.ServiceModel.DomainServices.Tools
{
    using System;
    using System.Runtime.InteropServices;

    [ComImport, TypeLibType((short) 0x1040), Guid("4A791148-19E4-11D3-B86B-00C04F79F802")]
    public interface IVsHelp
    {
        [DispId(1)]
        void Contents();
        [DispId(2)]
        void Index();
        [DispId(3)]
        void Search();
        [DispId(4)]
        void IndexResults();
        [DispId(5)]
        void SearchResults();
        [DispId(6)]
        void DisplayTopicFromId([In, MarshalAs(UnmanagedType.BStr)] string bstrFile, [In, MarshalAs(UnmanagedType.U4)] int Id);
        [DispId(7)]
        void DisplayTopicFromURL([In, MarshalAs(UnmanagedType.BStr)] string pszURL);
        [DispId(8)]
        void DisplayTopicFromURLEx([In, MarshalAs(UnmanagedType.BStr)] string pszURL, [In, MarshalAs(UnmanagedType.Interface)] object pIVsHelpTopicShowEvents);
        [DispId(9)]
        void DisplayTopicFromKeyword([In, MarshalAs(UnmanagedType.BStr)] string pszKeyword);
        [DispId(10)]
        void DisplayTopicFromF1Keyword([In, MarshalAs(UnmanagedType.BStr)] string pszKeyword);
    }
}

